#ifndef RESOURCEMANAGER_H
#define RESOURCEMANAGER_H

#include "Mesh.h"
#include "IMeshLoader.h"

class ResourceManager
{
private:
	ResourceManager();
	~ResourceManager();

	static ResourceManager sInstance;

public:
	static const ResourceManager* GetInst();
	static void Init(DeviceManager* pDevice);
	Mesh* GetMesh(const char* pFilePath) const;
	ID3D11ShaderResourceView* CreateShaderResourceViewFromFile(const char* pFilePath) const;
private:
	IMeshLoader* mpMeshLoader;
	DeviceManager* mpDeviceManager;
};

#endif